0654a70fbeff55f9610b92ab3d612e1f62b4deeb,src/persistence/org/codehaus/groovy/grails/orm/hibernate/cfg/GrailsDomainBinder.java,GrailsDomainBinder,bindCollectionSecondPass,#GrailsDomainClassProperty#Mappings#Map#Collection#Map#,259
Before Change
ManyToOne element = new ManyToOne( collection.getCollectionTable() );
bindManyToMany(otherSide, element, mappings);
collection.setElement(element);
collection.setLazy(true);
}
else {
// TODO support unidirectional many-to-many
After Change
ManyToOne element = new ManyToOne( collection.getCollectionTable() );
bindManyToMany(otherSide, element, mappings);
collection.setElement(element);
if(cc!=null) {
collection.setLazy(cc.getLazy());
}
else {
collection.setLazy(true);
}
}